home *** CD-ROM | disk | FTP | other *** search
/ Spidla DivX / DivX.bin / FlyDS 1.9.0 / FlyDSsetup.exe / $INSTDIR / FlyDS_messages.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-02-09  |  8.0 KB  |  206 lines

  1. /*************************
  2. The FlyDS v1.9.1 Windows messages
  3. *************************/
  4. /*
  5. Examples:
  6.  
  7. HWND flydswnd=FindWindow (NULL,"TV Screen");
  8.  
  9. //Exit -
  10. PostMessage(flydswnd,WMFLYDS_QUIT,NULL,NULL);
  11. //or
  12. PostMessage(flydswnd,WM_COMMAND,WMFLYDS_QUIT,NULL);
  13.  
  14.  
  15. //Set frequency 599.50 Mhz -
  16. PostMessage(flydswnd,WMFLYDS_FREQ,599500,NULL);
  17. //or
  18. PostMessage(flydswnd,WM_COMMAND,WMFLYDS_FREQ,599500);
  19.  
  20.  
  21. //Set main volume to half position -
  22. PostMessage(flydswnd,WMFLYDS_VOLUME,32,NULL);
  23. //or
  24. PostMessage(flydswnd,WM_COMMAND,WMFLYDS_VOLUME,32);
  25.  
  26. //Start avi capture -
  27. PostMessage(flydswnd,WMFLYDS_STARTCAPTUREAVI,NULL,NULL);
  28. //or
  29. PostMessage(flydswnd,WM_COMMAND,WMFLYDS_STARTCAPTUREAVI,NULL);
  30.  
  31. //Switch to channel 10  -
  32. PostMessage(flydswnd,WMFLYDS_CHANNEL,10,NULL);
  33. //or
  34. PostMessage(flydswnd,WM_COMMAND,WMFLYDS_CHANNEL,10);
  35. //or
  36. PostMessage(flydswnd,WMFLYDS_CHANNEL10,NULL,NULL);
  37. //or
  38. PostMessage(flydswnd,WM_COMMAND,WMFLYDS_CHANNEL10,0);
  39.  
  40. */
  41. #ifndef FLYDSMSG_H
  42. #define FLYDSMSG_H
  43.  
  44. #define WMFLYDS_HIDEME                  WM_USER+197
  45. #define WMFLYDS_SHOWME                  WM_USER+198
  46.  
  47. #define WMFLYDS_CHANNEL                 WM_USER+199    //   wParam (or lParam) = cnlnumber
  48. #define WMFLYDS_CHANNELPLUS             WM_USER+200
  49. #define WMFLYDS_CHANNELMINUS            WM_USER+201
  50.  
  51. #define WMFLYDS_VOLUME                  WM_USER+202    //   wParam (or lParam) =0..65
  52. #define WMFLYDS_VOLUMEPLUS              WM_USER+203
  53. #define WMFLYDS_VOLUMEMINUS             WM_USER+204
  54.  
  55. #define WMFLYDS_VOLUME2                 WM_USER+205    //   wParam (or lParam) =0..65
  56. #define WMFLYDS_VOLUME2PLUS             WM_USER+206
  57. #define WMFLYDS_VOLUME2MINUS            WM_USER+207
  58.  
  59. #define WMFLYDS_BRIGHTNESS              WM_USER+208    //   wParam (or lParam)=0..100
  60. #define WMFLYDS_BRIGHTNESSPLUS          WM_USER+209
  61. #define WMFLYDS_BRIGHTNESSMINUS         WM_USER+210
  62.  
  63. #define WMFLYDS_CONTRAST                WM_USER+211    //   wParam (or lParam)=0..100
  64. #define WMFLYDS_CONTRASTPLUS            WM_USER+212
  65. #define WMFLYDS_CONTRASTMINUS           WM_USER+213
  66.  
  67. #define WMFLYDS_HUE                     WM_USER+214    //   wParam (or lParam)=0..100
  68. #define WMFLYDS_HUEPLUS                 WM_USER+215
  69. #define WMFLYDS_HUEMINUS                WM_USER+216
  70.  
  71. #define WMFLYDS_SATURATION              WM_USER+217    //   wParam (or lParam)=0..100
  72. #define WMFLYDS_SATURATIONPLUS          WM_USER+218
  73. #define WMFLYDS_SATURATIONMINUS         WM_USER+219
  74.  
  75. #define WMFLYDS_STARTCAPTUREAVI         WM_USER+220
  76. #define WMFLYDS_STOPCAPTUREAVI          WM_USER+221
  77.  
  78. #define WMFLYDS_STARTCAPTUREMPEG        WM_USER+222
  79. #define WMFLYDS_STOPCAPTUREMPEG         WM_USER+223
  80.  
  81. #define WMFLYDS_STARTCAPTUREWAV         WM_USER+224
  82. #define WMFLYDS_STOPCAPTUREWAV          WM_USER+225
  83.  
  84. #define WMFLYDS_STARTCAPTURESNAP        WM_USER+226
  85. #define WMFLYDS_STOPCAPTURESNAP         WM_USER+227
  86.  
  87. #define WMFLYDS_SNAPSHOT                WM_USER+228
  88.  
  89. #define WMFLYDS_MUTETRIGGER             WM_USER+229
  90. #define WMFLYDS_MUTEON                  WM_USER+230
  91. #define WMFLYDS_MUTEOFF                 WM_USER+231
  92.  
  93. #define WMFLYDS_KEEPSOUNDTRIGGER        WM_USER+232
  94. #define WMFLYDS_KEEPSOUNDON             WM_USER+233
  95. #define WMFLYDS_KEEPSOUNDOFF            WM_USER+234
  96.  
  97. #define WMFLYDS_TOPMOSTTRIGGER          WM_USER+235
  98. #define WMFLYDS_TOPMOSTON               WM_USER+236
  99. #define WMFLYDS_TOPMOSTOFF              WM_USER+237
  100.  
  101. #define WMFLYDS_SOURCE                  WM_USER+238
  102. #define WMFLYDS_SOURCETV                WM_USER+239
  103. #define WMFLYDS_SOURCEAV                WM_USER+240
  104. #define WMFLYDS_SOURCESVHS              WM_USER+241
  105.  
  106. #define WMFLYDS_SYSTEM                  WM_USER+242
  107. #define WMFLYDS_SYSTEMNTSC              WM_USER+243
  108. #define WMFLYDS_SYSTEMPAL               WM_USER+244
  109. #define WMFLYDS_SYSTEMSECAM             WM_USER+245
  110.  
  111. #define WMFLYDS_FREQ                    WM_USER+246      //   wParam (or lParam)=40000..900000 (kHz)
  112. #define WMFLYDS_FREQPLUS                WM_USER+247
  113. #define WMFLYDS_FREQMINUS               WM_USER+248
  114.  
  115. #define WMFLYDS_PAUSECAPTUREAVI         WM_USER+249
  116. #define WMFLYDS_PAUSECAPTUREMPEG        WM_USER+250
  117. #define WMFLYDS_SHOWAVI                 WM_USER+251
  118. #define WMFLYDS_SHOWMPEG                WM_USER+252
  119.  
  120. #define WMFLYDS_FULLSCREEN              WM_USER+253
  121. #define WMFLYDS_SIZE34                  WM_USER+254
  122. #define WMFLYDS_QUIT                    WM_USER+255
  123.  
  124. #define WMFLYDS_OSDSHOWTIME             WM_USER+256
  125.  
  126. #define WMFLYDS_CHANNEL0                WM_USER+300
  127. #define WMFLYDS_CHANNEL1                WM_USER+301
  128. #define WMFLYDS_CHANNEL2                WM_USER+302
  129. #define WMFLYDS_CHANNEL3                WM_USER+303
  130. #define WMFLYDS_CHANNEL4                WM_USER+304
  131. #define WMFLYDS_CHANNEL5                WM_USER+305
  132. #define WMFLYDS_CHANNEL6                WM_USER+306
  133. #define WMFLYDS_CHANNEL7                WM_USER+307
  134. #define WMFLYDS_CHANNEL8                WM_USER+308
  135. #define WMFLYDS_CHANNEL9                WM_USER+309
  136. #define WMFLYDS_CHANNEL10               WM_USER+310
  137.  
  138. #define WMFLYDS_CHANNELPREV             WM_USER+330
  139. #define WMFLYDS_FREEZEPREVIEW           WM_USER+331
  140. #define WMFLYDS_TVFM                    WM_USER+332
  141.  
  142. #define WMFLYDS_SHARPNESS               WM_USER+340    //   wParam (or lParam)=0..100
  143. #define WMFLYDS_SHARPNESSPLUS           WM_USER+341
  144. #define WMFLYDS_SHARPNESSMINUS          WM_USER+342
  145.  
  146. #define WMFLYDS_GAMMA                   WM_USER+343    //   wParam (or lParam)=0..100
  147. #define WMFLYDS_GAMMAPLUS               WM_USER+344
  148. #define WMFLYDS_GAMMAMINUS              WM_USER+345
  149.  
  150. #define WMFLYDS_WHITEBALANCE            WM_USER+346    //   wParam (or lParam)=0..100
  151. #define WMFLYDS_WHITEBALANCEPLUS        WM_USER+347
  152. #define WMFLYDS_WHITEBALANCEMINUS       WM_USER+348
  153.  
  154. #define WMFLYDS_BACKLIGHTCOMP           WM_USER+349    //   wParam (or lParam)=0..100
  155. #define WMFLYDS_BACKLIGHTCOMPPLUS       WM_USER+350
  156. #define WMFLYDS_BACKLIGHTCOMPMINUS      WM_USER+351
  157.  
  158. #define WMFLYDS_TELETEXTPAGE            WM_USER+360    //   wParam (or lParam)=0..1000
  159. #define WMFLYDS_TELETEXTPAGEPLUS        WM_USER+361
  160. #define WMFLYDS_TELETEXTPAGEPLUS10      WM_USER+362
  161. #define WMFLYDS_TELETEXTPAGEMINUS       WM_USER+363
  162. #define WMFLYDS_TELETEXTPAGEMINUS10     WM_USER+364
  163. #define WMFLYDS_TELETEXTPAGEBKGNDON     WM_USER+365
  164. #define WMFLYDS_TELETEXTPAGEBKGNDOFF    WM_USER+366
  165. #define WMFLYDS_TELETEXTPAGEANSWERON    WM_USER+367
  166. #define WMFLYDS_TELETEXTPAGEANSWEROFF   WM_USER+368
  167.  
  168. #define WMFLYDS_TVGUIDENOW              WM_USER+370
  169. #define WMFLYDS_TVGUIDENEXT             WM_USER+371
  170. #define WMFLYDS_TVGUIDEPREV             WM_USER+372
  171.  
  172. #define WMFLYDS_SHUTDOWNTIMER           WM_USER+380
  173.  
  174. #define WMFLYDS_MINIMIZETRIGGER         WM_USER+390
  175. #define WMFLYDS_MINIMIZEME              WM_USER+391
  176. #define WMFLYDS_HIDETRIGGER             WM_USER+392
  177.  
  178. #define WMFLYDS_PIPCHANNEL0             WM_USER+400
  179. #define WMFLYDS_PIPCHANNEL1             WM_USER+401
  180. #define WMFLYDS_PIPCHANNEL2             WM_USER+402
  181. #define WMFLYDS_PIPCHANNEL3             WM_USER+403
  182. #define WMFLYDS_PIPCHANNEL4             WM_USER+404
  183. #define WMFLYDS_PIPCHANNEL5             WM_USER+405
  184. #define WMFLYDS_PIPCHANNEL6             WM_USER+406
  185. #define WMFLYDS_PIPCHANNEL7             WM_USER+407
  186. #define WMFLYDS_PIPCHANNEL8             WM_USER+408
  187. #define WMFLYDS_PIPCHANNEL9             WM_USER+409
  188. #define WMFLYDS_PIPCHANNEL10            WM_USER+410
  189.  
  190. #define WMFLYDS_PIPSTARTSTOP            WM_USER+440
  191. #define WMFLYDS_PIPSWAP                 WM_USER+441
  192. #define WMFLYDS_PIPCHANNEL              WM_USER+445    //   wParam (or lParam) = cnlnumber
  193. #define WMFLYDS_PIPCHANNELPLUS          WM_USER+450
  194. #define WMFLYDS_PIPCHANNELMINUS         WM_USER+451
  195.  
  196. #define WMFLYDS_STARTCAPTUREWMV         WM_USER+470
  197. #define WMFLYDS_STOPCAPTUREWMV          WM_USER+471
  198. #define WMFLYDS_PAUSECAPTUREWMV         WM_USER+472
  199. #define WMFLYDS_SHOWWMV                 WM_USER+473
  200.  
  201. #define WMFLYDS_STARTCAPTURENET         WM_USER+474
  202. #define WMFLYDS_STOPCAPTURENET          WM_USER+475
  203.  
  204. #endif
  205.  
  206.